#!/bin/bash

# 安装依赖
echo "Installing dependencies..."
pnpm install

# 确保数据库结构是最新的
echo "Updating database schema..."
pnpm run typeorm migration:run

# 启动应用
echo "Starting application..."
pnpm run start:dev